como detectar maximos y minimos en bolsa